package cn.kmia.hrm.pojo.system;

import org.nutz.dao.entity.annotation.*;

import java.io.Serializable;

/**
 * @项目：hrm
 * @作者：4K
 * @描述：权限
 * @日期：created in 13:49 2017/3/30
 */
@Table("sys_permission")
public class Permission implements Serializable {

    @Id
    private int id;

    @Column
    @Comment("名称")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String name;

    @Column
    @Comment("描述")
    @ColDefine(type = ColType.VARCHAR, width = 500)
    private String description;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
